package vote.ai.service;

import com.baomidou.mybatisplus.extension.service.IService;
import vote.ai.domain.entity.CorrectTaskDetails;
import vote.ai.utils.CorrectionUtil;

import java.util.List;

/**
 * 纠错任务详情服务
 */
public interface CorrectTaskDetailsService extends IService<CorrectTaskDetails> {
    void batchSaveTask(String taskId, List<CorrectionUtil.TextSegment> textSegments);
    CorrectTaskDetails getUnParsedTask();

    Boolean checkTaskFinished(String taskId);
}
